package Entities;

import java.io.Serializable;

/**
 * @author zelonghu QQ:1032006226
 * @name testGPS2
 * @class name：Entities
 * @class describe
 * @time 2019/7/2 7:37 PM
 * @change
 * @chang time
 * @class 目击猫的描述
 */
public class CatWitness implements Serializable {
    private String catid;
    private String cattype;//猫的类型
    private Double latitude;//纬度
    private Double Longtitude;//经度
    private String catHospital;//合作医院
    private String catHealth;//猫的健康状况
    private String catPicPath;//图片地点

    public CatWitness(String catid, Double latitude, Double longtitude) {
        this.catid = catid;
        this.latitude = latitude;
        Longtitude = longtitude;
    }

    public CatWitness(String catid, String cattype, Double latitude, Double longtitude, String catHospital, String catHealth, String catPicPath) {
        this.catid = catid;
        this.cattype = cattype;
        this.latitude = latitude;
        Longtitude = longtitude;
        this.catHospital = catHospital;
        this.catHealth = catHealth;
        this.catPicPath = catPicPath;
    }

    @Override
    public String toString() {
        return "CatWitness{" +
                "catid='" + catid + '\'' +
                ", cattype='" + cattype + '\'' +
                ", latitude=" + latitude +
                ", Longtitude=" + Longtitude +
                ", catHospital='" + catHospital + '\'' +
                ", catHealth='" + catHealth + '\'' +
                ", catPicPath='" + catPicPath + '\'' +
                '}';
    }

    public String getCatid() {
        return catid;
    }

    public void setCatid(String catid) {
        this.catid = catid;
    }

    public String getCattype() {
        return cattype;
    }

    public void setCattype(String cattype) {
        this.cattype = cattype;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongtitude() {
        return Longtitude;
    }

    public void setLongtitude(Double longtitude) {
        Longtitude = longtitude;
    }

    public String getCatHospital() {
        return catHospital;
    }

    public void setCatHospital(String catHospital) {
        this.catHospital = catHospital;
    }

    public String getCatHealth() {
        return catHealth;
    }

    public void setCatHealth(String catHealth) {
        this.catHealth = catHealth;
    }

    public String getCatPicPath() {
        return catPicPath;
    }

    public void setCatPicPath(String catPicPath) {
        this.catPicPath = catPicPath;
    }
}
